made all methods static

Signed-off-by: Arash  Sanieyan <ash@peerglobe.com>
force the prefix to have underscore
fixed bug http://www.anahitapolis.com/todos/117312-empty-database-prevents-intallations